package com.cn.wanxi.util.service.impl;

import com.cn.wanxi.util.dao.impl.SchoolCurriculumDao;
import com.cn.wanxi.util.model.SchoolAboutModel;
import com.cn.wanxi.util.model.SchoolCurriculumModel;
import com.cn.wanxi.util.model.SchoolServerModel;
import com.cn.wanxi.util.service.ISchoolContent;

import java.util.List;

public class SchoolContentService implements ISchoolContent {
    SchoolCurriculumDao schoolCurriculumDao =new SchoolCurriculumDao();

    @Override
    public List<SchoolCurriculumModel> getSchoolCurriculum() {
        List<SchoolCurriculumModel> schoolCurriculumList = schoolCurriculumDao.schoolCurriculum();

        return schoolCurriculumList;
    }

    @Override
    public List<SchoolServerModel> getSchoolServer() {
        List<SchoolServerModel> schoolServerList = schoolCurriculumDao.schoolServer();
        return schoolServerList;
    }

    @Override
    public List<SchoolAboutModel> getSchoolAbout() {
        List<SchoolAboutModel> schoolAboutList = schoolCurriculumDao.schoolAbout();
        return schoolAboutList;
    }
}
